import type { FC } from 'react';
import style from './index.less';
import React, { Fragment, useState, useEffect } from 'react';
import { Alert, Divider, message } from 'antd';
import { HeartTwoTone } from '@ant-design/icons';
interface Props {}
const Achievement: FC<Props> = () => (
  <div className={style.content}>
    <div className={style.top}>
      <div className={style.top_left}>公告栏</div>
      <div className={style.top_right} onClick={()=>{
         message.warning('更多详情请联系管理员');
      }}>更多</div>
    </div>
    <Divider />
    <div className={style.bottom}>
      <div className={style.opinion}>
        <h3 className={style.top}>
          代码分享社区 | 意见反馈 && 建议反馈
        </h3>
        
        <h5 className={style.bottom}>
          2022/04/17
        </h5>
      </div>
      <div className={style.welcome}>
        <h3 className={style.top}>
          欢迎来到代码交流社区 <HeartTwoTone twoToneColor="#eb2f96" />
        </h3>
        <h5 className={style.bottom}>
          2022/04/17
        </h5>
      </div>
    </div>
  </div>
);

export default Achievement;
